package cn.izeno.wx.models.param

import com.alibaba.fastjson.annotation.JSONField

/**
 * 小程序码请求参数
 */
class WxacodeShort(
    val page: String,
    val scene: String? = null,

    val width: Int = 430,
    @field:JSONField(name = "auto_color")
    val autoColor: Boolean = false,

    @field:JSONField(name = "line_color")
    val lineColor: WxColor? = null          // autoColor 为 false 时生效
)